package com.yex.service;

import com.baomidou.mybatisplus.service.IService;
import com.yex.common.utils.PageUtils;
import com.yex.entity.QuestionEntity;
import com.yex.utils.JsonResultVo;

import java.util.Map;

/**
 * 留言
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-12-27 16:00:40
 */
public interface QuestionService extends IService<QuestionEntity> {

    PageUtils queryPage(Map<String, Object> params,String filter);

    JsonResultVo insertQuestion(Integer userId, String content,String ip);

    JsonResultVo selectQuestionList(Integer userId);
}

